﻿using Looptribe.Moodlin8.Model;

namespace Looptribe.Moodlin8.ViewModel
{
    public class CourseUserWrapper
    {
        private readonly CourseUser _courseUser;

        public CourseUser User
        {
            get { return _courseUser; }
        }

        public CourseUserWrapper(CourseUser courseUser)
        {
            _courseUser = courseUser;
        }

        public string Title
        {
            get { return _courseUser.Fullname; }
        }

        public string Subtitle
        {
            get { return _courseUser.Email; }
        }

        public string Image
        {
            get { return _courseUser.ProfileImageUrl; }
        }
    }
}
